package org.jeecg.modules.flower.service;

import io.swagger.annotations.ApiOperation;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.flower.entity.TFlowerTagIn2;
import org.jeecg.modules.flower.entity.TFlowerTagInMain2;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;
import java.util.List;

/**
 * @Description: 批量入库表主表
 * @Author: jeecg-boot
 * @Date:   2022-07-22
 * @Version: V1.0
 */
public interface ITFlowerTagInMain2Service extends IService<TFlowerTagInMain2> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(TFlowerTagInMain2 tFlowerTagInMain2,List<TFlowerTagIn2> tFlowerTagIn2List) ;
	public void saveMain2(TFlowerTagInMain2 tFlowerTagInMain2,List<TFlowerTagIn2> tFlowerTagIn2List) ;

	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(TFlowerTagInMain2 tFlowerTagInMain2,List<TFlowerTagIn2> tFlowerTagIn2List);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	/**
	 * 批量入库表主表-审核确认入库
	 * @descriptionauthor
	 * @author gf
	 * 2022-12-7 13:47
	 * [id]
	 * @return java.lang.String
	 */
	public String sure(  String id );

	/**
	 * 批量入库表主表-审核确认入库--撤销
	 * @descriptionauthor
	 * @author gf
	 * 2022-12-7 13:47
	 * [id]
	 * @return org.jeecg.common.api.vo.Result<?>
	 */
	public String sureBack(  String id )  ;

}
